<form class="kaige-body layui-form layui-form-pane" lay-filter="kaige_form_lay_filter">
    <blockquote class="layui-elem-quote layui-text">
        节点是系统自动获取，非开发人员，请不要编辑节点菜单！ <span style="color: red;">禁止修改项请前往[节点获取配置]中设置</span>
    </blockquote>
    <div class="layui-form-item">
        <label class="layui-form-label">上级菜单</label>
        <div class="layui-input-inline" style="width:220px">
            <div class="layui-unselect layui-form-select" id="menu_select">
                <div class="layui-select-title" style="position: relative;" id="menusel">
                    <input type="text" placeholder="选择模块" value="" readonly="" class="layui-input layui-unselect" id="p_menu_id_name" />
                    <input type="hidden" name="p_menu_id" value="" id="p_menu_id_id" />
                    <i class="layui-edge"></i>
                </div>
                <div id="treemenu" class="layui-anim layui-treetable-selectbox" style="width:240px; height:260px;">
                    <table class="layui-table" id="selectTable" lay-filter="selectTable" lay-size="sm"></table>
                </div>
            </div>
        </div>
        <label class="layui-form-label">图标</label>
        <div class="layui-inline" style="width:220px">
            <input type="hidden" name="icon" autocomplete="off" class="layui-input iconpicker ipicon" value="" />
            <button type="button" class="layui-btn layui-btn-sm puicon" style="margin-top:3px;margin-left: 5px;"><i class="fa "></i> 选择图标 </button>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">菜单ID</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="menu_id" value="" required lay-verify="required" autocomplete="off" 
                class="layui-input" />
        </div>
        <label class="layui-form-label">链接参数</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="params" placeholder="例: name=1&age=20" value="" autocomplete="off"
                class="layui-input" />
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">模块名称</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="name" required lay-verify="required" value="" placeholder="请输入模块名称"
                autocomplete="off" class="layui-input" />
        </div>
        <label class="layui-form-label">打开方式</label>
        <div class="layui-input-inline" style="width:220px">
            <select name="open_type">
                <option value="0">无</option>
                <option value="1">弹窗</option>
                <option value="2">TAB任务栏</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">弹窗宽度</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="width" class="layui-input" placeholder="(500px/80vw/80%)" value="" />
        </div>
        <label class="layui-form-label">弹窗高度</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="height" class="layui-input" placeholder="(500px/80vh/80%)" value="" />
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="sort" class="layui-input" value="" />
        </div>
        <label class="layui-form-label">左侧显示</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="is_left" lay-skin="switch" value="1" lay-text="是|否" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">模块路由</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="text" name="node" value="1" disabled autocomplete="off" class="layui-input layui-disabled" />
        </div>
        <label class="layui-form-label">是否锁定</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="is_lock" lay-skin="switch" value="1" lay-text="是|否" />
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">说明</label>
        <div class="layui-input-block">
            <input type="text" name="title" autocomplete="off" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">是否菜单</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="is_menu" disabled lay-skin="switch" value="1" lay-text="是|否" />
        </div>
        <label class="layui-form-label">类型</label>
        <div class="layui-input-inline" style="width:220px">
            <select disabled class="layui-disabled" name="type">
                <option value="m">模块</option>
                <option value="c">控制器</option>
                <option value="a">方法</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">是否权限</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="is_auth" disabled lay-skin="switch" value="1" lay-text="是|否" />
        </div>
        <label class="layui-form-label">标记类别</label>
        <div class="layui-input-inline" style="width:220px">
            <select disabled class="layui-disabled" name="menu_type">
                <option value="0">无</option>
                <option value="1">父菜单</option>
                <option value="2">菜单</option>
                <option value="3">按钮</option>
                <option value="4">接口</option>
                <option value="5">系统</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">是否登录</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="is_login" disabled lay-skin="switch" value="1" lay-text="是|否" />
        </div>
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline" style="width:220px">
            <input type="checkbox" name="status" disabled lay-skin="switch" value="1" lay-text="启用|禁用" />
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="hidden" value="" name="id">
    </div>
    <div class="layui-form-item layui-hide">
        <button class="layui-hide" lay-submit="" id="kaige_form_btn_save" lay-filter="kaige_form_btn_save">保存数据</button>
    </div>
</form>
